main.c
#include"book.h"
int main()
{
        Sq_List sqlist;
        Sq_List_Init(&sqlist, Initcapacity);
        Sq_List_In_Back(&sqlist, Initcapacity, 1);
        Sq_List_In_Back(&sqlist, Initcapacity, 2);
        Sq_List_In_Back(&sqlist, Initcapacity, 3);
        Sq_List_In_Back(&sqlist, Initcapacity, 4);
        Sq_List_In_Back(&sqlist, Initcapacity, 5);
        Sq_List_In_Back(&sqlist, Initcapacity, 6);
        Sq_List_In_Back(&sqlist, Initcapacity, 7);
        printf("%d\n", sqlist.cur_size);
        Sq_List_Print(&sqlist);
//      Sq_List_Search(&sqlist, 4);//顺序表查找
//      Sq_List_Search(&sqlist, 8);//顺序表查找
//      Sq_List_Del_Ran(&sqlist);//顺序表任意位置删除
//      Sq_List_Del_Head(&sqlist);//顺序表头删
//      Sq_List_Del_Back(&sqlist);//顺序表尾删
//      Sq_List_In_Head(&sqlist, Initcapacity, 8);//顺序表头插
//      Sq_List_In_Ran(&sqlist, Initcapacity, 8);//顺序表任意位置插入
//      Sq_List_In_Back(&sqlist, Initcapacity, 7);//顺序表尾插
//      Sq_List_Print(&sqlist);顺序表打印
        return 0;
}